package com.pti.usermanager.web.dto.request;

import java.util.Date;

/**
 * @ClassName: UpdatePostRequest
 * @Author: dongzhipeng
 * @Description: 更改单位请求类
 * @Date: 2019/1/17
 */
public class UpdateCompRequest {

    /**
     * 单位ID
     */
    private Long compId;
    /**
     * 单位名称
     */
    private String compNm;
    /**
     * 父级单位ID
     */
    private Long compPid;
    /**
     * 单位状态
     */
    private String compStat;
    /**
     * 单位编码
     */
    private String compCd;
    /**
     * 单位级别
     */
    private String compLv;
    /**
     * 单位简称
     */
    private String compAbbr;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 单位说明
     */
    private String compDesc;
    /**
     * 删除时间
     */
    private Date delTime;
    /**
     * 删除标识
     */
    private char delFlag;
    /**
     * 创建时间
     */
    private Date crtTime;
    /**
     * 修改时间
     */
    private Date uptTime;

    public Long getCompId() {
        return compId;
    }

    public void setCompId(Long compId) {
        this.compId = compId;
    }

    public String getCompNm() {
        return compNm;
    }

    public void setCompNm(String compNm) {
        this.compNm = compNm;
    }

    public Long getCompPid() {
        return compPid;
    }

    public void setCompPid(Long compPid) {
        this.compPid = compPid;
    }

    public String getCompStat() {
        return compStat;
    }

    public void setCompStat(String compStat) {
        this.compStat = compStat;
    }

    public String getCompCd() {
        return compCd;
    }

    public void setCompCd(String compCd) {
        this.compCd = compCd;
    }

    public String getCompLv() {
        return compLv;
    }

    public void setCompLv(String compLv) {
        this.compLv = compLv;
    }

    public String getCompAbbr() {
        return compAbbr;
    }

    public void setCompAbbr(String compAbbr) {
        this.compAbbr = compAbbr;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCompDesc() {
        return compDesc;
    }

    public void setCompDesc(String compDesc) {
        this.compDesc = compDesc;
    }

    public Date getDelTime() {
        return delTime;
    }

    public void setDelTime(Date delTime) {
        this.delTime = delTime;
    }

    public char getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(char delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCrtTime() {
        return crtTime;
    }

    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }

    public Date getUptTime() {
        return uptTime;
    }

    public void setUptTime(Date uptTime) {
        this.uptTime = uptTime;
    }

    @Override
    public String toString() {
        return "SaveCompRequest{" +
                "compId=" + compId +
                ", compNm='" + compNm + '\'' +
                ", compPid=" + compPid +
                ", compStat='" + compStat + '\'' +
                ", compCd='" + compCd + '\'' +
                ", compLv='" + compLv + '\'' +
                ", compAbbr='" + compAbbr + '\'' +
                ", sort=" + sort +
                ", compDesc='" + compDesc + '\'' +
                ", delTime='" + delTime + '\'' +
                ", delFlag=" + delFlag +
                ", crtTime='" + crtTime + '\'' +
                ", uptTime='" + uptTime + '\'' +
                '}';
    }
}
